package cn.rkylin.oms.goodscost.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import cn.rkylin.oms.common.base.BaseEntity;

/**
 * 类名：GoodsCost <br>
 * 作用： 成本管理实体表 <br>
 * 创建时间：2018年1月15日 下午3:50:40 <br>
 * 
 * @author LiPeng
 * @version
 */
public class GoodsCost extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -2571336111877117339L;

    /**
     * id
     */
    private String goodsCostId;

    /**
     * 企业id
     */
    private String entId;

    /**
     * 规格id
     */
    private String skuId;

    /**
     * 规格商家编码
     */
    private String skuCode;

    /**
     * 规格名称
     */
    private String skuName;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品商家编码
     */
    private String goodsCode;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 原成本价
     */
    private BigDecimal origCost;

    /**
     * 当前成本价
     */
    private BigDecimal curtCost;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operTime;

    /**
     * 操作类型:采购入库、退货入库、其他
     */
    private String operType;

    /**
     * 操作模式:手动、自动
     */
    private String operMode;

    /**
     * 操作人姓名
     */
    private String operUserName;

    /**
     * 来源单据ID
     */
    private String sourceId;

    /**
     * 来源单据编码
     */
    private String sourceCode;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标记
     */
    private String deleted;

    private Integer qty;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public String getGoodsCostId() {
        return goodsCostId;
    }

    public void setGoodsCostId(String goodsCostId) {
        this.goodsCostId = goodsCostId;
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public BigDecimal getOrigCost() {
        return origCost;
    }

    public void setOrigCost(BigDecimal origCost) {
        this.origCost = origCost;
    }

    public BigDecimal getCurtCost() {
        return curtCost;
    }

    public void setCurtCost(BigDecimal curtCost) {
        this.curtCost = curtCost;
    }

    public Date getOperTime() {
        return operTime;
    }

    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getOperMode() {
        return operMode;
    }

    public void setOperMode(String operMode) {
        this.operMode = operMode;
    }

    public String getOperUserName() {
        return operUserName;
    }

    public void setOperUserName(String operUserName) {
        this.operUserName = operUserName;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }
}
